package cate.game.play.buff.h;

import cate.game.play.buff.Buff;
import cate.game.play.buff.BuffHandler;
import cate.game.play.proce.action.ctx.ActionCtx;

/**
 * 每层抵消1次增益状态附加
 */
public class 无效BH extends BuffHandler {


	@Override
	public boolean allowAddBuff(ActionCtx action, Buff buffToAdd) {
		if (buffToAdd.isGood()) {
			buff.markInvalid(action);
			return false;
		}
		return true;
	}
}
